package com.yunchang.springboot.models.mwsfinance;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunchang.springboot.base.Column;
import com.yunchang.springboot.base.Id;
import com.yunchang.springboot.base.Table;
import java.io.Serializable;
import lombok.Data;

/**
 * f_inventory_details
 * @author Administrator
 * @date 2020-05-13 18:09:55
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Table("f_inventory_details")
public class FInventoryDetails implements Serializable,Cloneable {
    /**
     */
    @Id("id")
    private Long id;

    /**
     * 店铺
     */
    @Column("seller_id")
    private String sellerId;

    /**
     * 国家
     */
    @Column("country")
    private String country;

    /**
     * 日期
     */
    @Column("date")
    private String date;

    /**
     * sku
     */
    @Column("sku")
    private String sku;

    /**
     * 库存sku
     */
    @Column("stock_sku")
    private String stockSku;

    /**
     * fnsku
     */
    @Column("fnsku")
    private String fnsku;

    /**
     * asin
     */
    @Column("asin")
    private String asin;

    /**
     * 类型 1:出库 2：入库
     */
    @Column("type")
    private Integer type;

    /**
     * 数量
     */
    @Column("quantity")
    private Integer quantity;

    /**
     * 单位成本
     */
    @Column("cost_unit")
    private Double costUnit;

    /**
     * 金额
     */
    @Column("amount")
    private Double amount;

    /**
     * 仓库
     */
    @Column("warehouse")
    private String warehouse;

    /**
     * 币别
     */
    @Column("currency")
    private String currency;

    /**
     * 原因
     */
    @Column("reason")
    private String reason;

    /**
     * 关联单号
     */
    @Column("related_order_id")
    private String relatedOrderId;

    /**
     * 关联原始单号
     */
    @Column("related_original_order_id")
    private String relatedOriginalOrderId;

    /**
     *是否生成库存数据 1：未生成 2：已生成 默认：1
     */
    @Column("is_inventory_daily")
    private Integer isInventoryDaily;

    /**
     */
    @Column("create_time")
    private String createTime;

    /**
     */
    @Column("update_time")
    private String updateTime;

    private static final long serialVersionUID = 1L;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}